Package com.cisco.pt.ipc.sim
Interface EasyVpnClient
- All Known Implementing Classes:
EasyVpnClientImpl
Information provided by the PKI file:
\class EasyVpnClient
\brief EasyVpnClient is the process that handles the Easy VPN client.
\example network().getDevice("PC0").getProcess("EasyVpnClient")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()Information provided by the PKI file:voidInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:booleanInformation provided by the PKI file:voidsetGroupKey(String groupKey) Information provided by the PKI file:voidsetGroupName(String groupName) Information provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetServerIp(IPAddress serverIp) Information provided by the PKI file:voidsetTunnelIp(IPAddress tunnelIp) Information provided by the PKI file:voidsetTunnelMask(IPAddress tunnelMask) Information provided by the PKI file:voidsetUsername(String username) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setServerIp
Information provided by the PKI file:
\brief Sets the server IP address for the Easy VPN client. \param serverIp, the server IP address for the Easy VPN client.- Parameters:
serverIp- Takes in a parameter of serverIp
-
getServerIp
IPAddress getServerIp()Information provided by the PKI file:
\brief Returns the server IP address for the Easy VPN client. \return ip, the server IP address for the Easy VPN client.- Returns:
- IPAddress Returns a IPAddress
-
setUsername
Information provided by the PKI file:
\brief Sets the username for the Easy VPN client. \param username, the username for the Easy VPN client.- Parameters:
username- Takes in a parameter of username
-
getUsername
String getUsername()Information provided by the PKI file:
\brief Returns the username for the Easy VPN client. \return string, the sername for the Easy VPN client.- Returns:
- String Returns a String
-
setPassword
Information provided by the PKI file:
\brief Sets the password for the Easy VPN client. \param password, the password for the Easy VPN client.- Parameters:
password- Takes in a parameter of password
-
getPassword
String getPassword()Information provided by the PKI file:
\brief Returns the password for the Easy VPN client. \return string, the password for the Easy VPN client.- Returns:
- String Returns a String
-
setGroupName
Information provided by the PKI file:
\brief Sets the group name for the Easy VPN client. \param groupName, the group name for the Easy VPN client.- Parameters:
groupName- Takes in a parameter of groupName
-
getGroupName
String getGroupName()Information provided by the PKI file:
\brief Returns the group name for the Easy VPN client. \return string, the group name for the Easy VPN client.- Returns:
- String Returns a String
-
setGroupKey
Information provided by the PKI file:
\brief Sets the group key for the Easy VPN client. \param groupKey, the group key for the Easy VPN client.- Parameters:
groupKey- Takes in a parameter of groupKey
-
getGroupKey
String getGroupKey()Information provided by the PKI file:
\brief Returns the group key for the Easy VPN client. \return string, the group key for the Easy VPN client.- Returns:
- String Returns a String
-
setTunnelIp
Information provided by the PKI file:
\brief Sets the tunnel IP address for the Easy VPN client. \param tunnelIp, the tunnel IP address for the Easy VPN client.- Parameters:
tunnelIp- Takes in a parameter of tunnelIp
-
getTunnelIp
IPAddress getTunnelIp()Information provided by the PKI file:
\brief Returns the tunnel IP address for the Easy VPN client. \return ip, the tunnel IP address for the Easy VPN client.- Returns:
- IPAddress Returns a IPAddress
-
setTunnelMask
Information provided by the PKI file:
\brief Sets the tunnel mask for the Easy VPN client. \param tunnelIp, the tunnel mask for the Easy VPN client.- Parameters:
tunnelMask- Takes in a parameter of tunnelMask
-
getTunnelMask
IPAddress getTunnelMask()Information provided by the PKI file:
\brief Returns the tunnel mask for the Easy VPN client. \return ip, the tunnel mask for the Easy VPN client.- Returns:
- IPAddress Returns a IPAddress
-
connect
void connect()Information provided by the PKI file:
\brief Connects the Easy VPN client. -
disconnect
void disconnect()Information provided by the PKI file:
\brief Disconnects the Easy VPN client. -
isConnected
boolean isConnected()Information provided by the PKI file:
\brief Returns true if the Easy VPN client is connected, false otherwise. \return bool, true if the Easy VPN client is connected, false otherwise.- Returns:
- boolean Returns a boolean
-